import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);
export default new Router({
  routes: [
    { path: "/", redirect: "/home" },
    {
      path: "/login",
      component: () => import("@/views/Login.vue"),
    },
    {
      path: "/home",
      component: () => import("@/views/Home.vue"),
      redirect: "/home",
      children: [
        {
          path: "/home",
          component: () => import("@/views/home/home.vue"),
          meta: { title: "工作台" },
        },
        {
          path: "/home2",
          component: () => import("@/views/home/home2.vue"),
          meta: { title: "工作台" },
        },
        {
          path: "/basic_set/keshi",
          component: () => import("@/views/basic_set/keshi.vue"),
          meta: { title: "科室信息管理" },
        },
        {
          path: "/basic_set/jigou",
          component: () => import("@/views/basic_set/jigou.vue"),
          meta: { title: "机构信息管理" },
        },
        {
          path: "/JvMinDA/dagl",
          component: () => import("@/views/JvMinDA/dagl.vue"),
          meta: { title: "居民档案管理" },
        },
        {
          path: "/JvMinDA/dagl2",
          component: () => import("@/views/JvMinDA/dagl2.vue"),
          meta: { title: "居民档案管理-高危" },
        },
        {
          path: "/JvMinDA/qcjl",
          component: () => import("@/views/JvMinDA/qcjl.vue"),
          meta: { title: "档案迁出记录" },
        },
        {
          path: "/JvMinDA/qrjl",
          component: () => import("@/views/JvMinDA/qrjl.vue"),
          meta: { title: "档案迁入记录" },
        },
        {
          path: "/JvMinDA/ydsfjl",
          component: () => import("@/views/JvMinDA/ydsfjl.vue"),
          meta: { title: "异地档案居民随访记录" },
        },
        {
          path: "/JvMinDA/dayd",
          component: () => import("@/views/JvMinDA/dayd.vue"),
          meta: { title: "批量档案异动" },
        },
        {
          path: "/JvMinDA/czrz",
          component: () => import("@/views/JvMinDA/czrz.vue"),
          meta: { title: "操作日志" },
        },
        {
          path: "/ZDRQ/ycf",
          component: () => import("@/views/ZDRQ/ycf.vue"),
          meta: { title: "孕产妇" },
        },
        {
          path: "/ZDRQ/0_6c",
          component: () => import("@/views/ZDRQ/0_6c.vue"),
          meta: { title: "0-6岁儿童" },
        },
        {
          path: "/SFJH/dws",
          component: () => import("@/views/SFJH/dws.vue"),
          meta: { title: "待完善随访" },
        },
        {
          path: "/SFJH/my_sfjh",
          component: () => import("@/views/SFJH/my_sfjh.vue"),
          meta: { title: "我的随访计划" },
        },
        {
          path: "/ZK/sj",
          component: () => import("@/views/ZK/sj.vue"),
          meta: { title: "人群纳入管理时间补充" },
        },
        {
          path: "/ZK/jbxx",
          component: () => import("@/views/ZK/jbxx.vue"),
          meta: { title: "基本信息异常" },
        },
        {
          path: "/ZK/zdrq",
          component: () => import("@/views/ZK/zdrq.vue"),
          meta: { title: "重点人群异常" },
        },
        {
          path: "/BKJS",
          component: () => import("@/views/BKJS.vue"),
          meta: { title: "报卡接收管理" },
        },
        // 表单

        {
          path: "/user_info",
          component: () => import("@/views/user_info.vue"),
          meta: { title: "居民档案详情" },
        },
        {
          path: "/user_info_mb",
          component: () => import("@/views/user_info2.vue"),
          meta: { title: "居民档案详情" },
        },
        {
          path: "/dialog_info/BKXQ",
          component: () => import("@/views/dialog_info/BKXQ.vue"),
          meta: { title: "报卡详情" },
        },
        {
          path: "/gltz/tnb",
          component: () => import("@/views/gltz/tnb.vue"),
          meta: { title: "糖尿病患者管理台账" },
        },
        {
          path: "/gltz/gxy",
          component: () => import("@/views/gltz/gxy.vue"),
          meta: { title: "高血压患者管理台账" },
        },
        {
          path: "/gltz/ncz",
          component: () => import("@/views/gltz/ncz.vue"),
          meta: { title: "脑卒中患者管理台账" },
        },
        {
          path: "/gltz/mzf",
          component: () => import("@/views/gltz/mzf.vue"),
          meta: { title: "慢阻肺患者管理台账" },
        },
        {
          path: "/gltz/gxb",
          component: () => import("@/views/gltz/gxb.vue"),
          meta: { title: "冠心病患者管理台账" },
        },
        {
          path: "/gltz/mxsb",
          component: () => import("@/views/gltz/mxsb.vue"),
          meta: { title: "慢性肾病患者管理台账" },
        },
        {
          path: "/BKXT/bkgl",
          component: () => import("@/views/BKXT/bkgl.vue"),
          meta: { title: "报卡管理" },
        },
        {
          path: "/BKXT/bkfj",
          component: () => import("@/views/BKXT/bkfj.vue"),
          meta: { title: "报卡分拣" },
        },
        {
          path: "/BKXT/tj/gxy",
          component: () => import("@/views/BKXT/tj/gxy.vue"),
          meta: { title: "高血压报卡统计" },
        },
        {
          path: "/BKXT/tj/tnb",
          component: () => import("@/views/BKXT/tj/tnb.vue"),
          meta: { title: "糖尿病报卡统计" },
        },
        {
          path: "/BKXT/tj/mh",
          component: () => import("@/views/BKXT/tj/mh.vue"),
          meta: { title: "慢呼报卡上报台账" },
        },
        {
          path: "/BKXT/tj/jx",
          component: () => import("@/views/BKXT/tj/jx.vue"),
          meta: { title: "急性心脑报卡上报台账" },
        },

        {
          path: "/BKXT/look/look",
          component: () => import("@/views/BKXT/look/look.vue"),
          meta: { title: "" },
        },
        {
          path: "/BKXT/look/look2",
          component: () => import("@/views/BKXT/look/look2.vue"),
          meta: { title: "" },
        },
        {
          path: "/SF/home",
          component: () => import("@/views/SF/home.vue"),
          meta: { title: "智能随访工作台" },
        },
        {
          path: "/SF/item",
          component: () => import("@/views/SF/item.vue"),
          meta: { title: "随访任务列表" },
        },
        {
          path: "/SF/info",
          component: () => import("@/views/SF/info.vue"),
          meta: { title: "随访任务详情" },
        },
        {
          path: "/Tj/gxy",
          component: () => import("@/views/Tj/gxy.vue"),
          meta: { title: "高血压统计" },
        },
        {
          path: "/Tj/tnb",
          component: () => import("@/views/Tj/tnb.vue"),
          meta: { title: "糖尿病统计" },
        },
        {
          path: "/Tj/gxb",
          component: () => import("@/views/Tj/gxb.vue"),
          meta: { title: "冠心病统计" },
        },
        {
          path: "/Tj/mzf",
          component: () => import("@/views/Tj/mzf.vue"),
          meta: { title: "慢阻肺统计" },
        },
        {
          path: "/Tj/ncz",
          component: () => import("@/views/Tj/ncz.vue"),
          meta: { title: "脑卒中统计" },
        },
        {
          path: "/Tj/mxszb",
          component: () => import("@/views/Tj/mxszb.vue"),
          meta: { title: "慢性肾脏病统计" },
        },
        {
          path: "/Zktj/gxy",
          component: () => import("@/views/Zktj/gxy.vue"),
          meta: { title: "高血压质控统计" },
        },
        {
          path: "/Zktj/tnb",
          component: () => import("@/views/Zktj/tnb.vue"),
          meta: { title: "糖尿病质控统计" },
        },
        {
          path: "/Zktj/gwrq",
          component: () => import("@/views/Zktj/gwrq.vue"),
          meta: { title: "高危人群质控统计" },
        },
        {
          path: "/Hzjk/gxy",
          component: () => import("@/views/Hzjk/gxy.vue"),
          meta: { title: "高血压患者健康管理统计" },
        },
        {
          path: "/Hzjk/tnb",
          component: () => import("@/views/Hzjk/tnb.vue"),
          meta: { title: "糖尿病患者健康管理统计" },
        },
        {
          path: "/big_p/grda",
          component: () => import("@/views/big_p/grda.vue"),
          meta: { title: "个人档案" },
        },
        {
          path: "/big_p/qy_xt",
          component: () => import("@/views/big_p/qy_xt.vue"),
          meta: { title: "全院血糖" },
        },
        {
          path: "/big_p/qy_xy",
          component: () => import("@/views/big_p/qy_xy.vue"),
          meta: { title: "全院血压" },
        },
        {
          path: "/big_p/glzx",
          component: () => import("@/views/big_p/glzx.vue"),
          meta: { title: "管理中心" },
        },
        {
          path: "/big_p/index",
          component: () => import("@/views/big_p/index.vue"),
          meta: { title: "全民健康管理平台" },
        },
      ],
    },
    {
      path: "/BKXT/bk_info/jxxjgs",
      component: () => import("@/views/BKXT/bk_info/jxxjgs.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/mxhxxtjb",
      component: () => import("@/views/BKXT/bk_info/mxhxxtjb.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/ncz",
      component: () => import("@/views/BKXT/bk_info/ncz.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/xjt",
      component: () => import("@/views/BKXT/bk_info/xjt.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/xzxcs",
      component: () => import("@/views/BKXT/bk_info/xzxcs.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/tnb",
      component: () => import("@/views/BKXT/bk_info/tnb.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/gxy",
      component: () => import("@/views/BKXT/bk_info/gxy.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/mzf",
      component: () => import("@/views/BKXT/bk_info/mzf.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/gxb",
      component: () => import("@/views/BKXT/bk_info/gxb.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/mxsb",
      component: () => import("@/views/BKXT/bk_info/mxsb.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/bk_info/zl",
      component: () => import("@/views/BKXT/bk_info/zl.vue"),
      meta: { title: "" },
    },
    {
      path: "/BKXT/add/addCard",
      component: () => import("@/views/BKXT/add/addCard.vue"),
      meta: { title: "新增报卡" },
    },
    {
      path: "/user/list",
      component: () => import("@/views/user/list.vue"),
      meta: { title: "用户列表" },
    },
    {
      path: "/carte_da",
      component: () => import("@/views/carte_da.vue"),
      meta: { title: "新建居民档案" },
    },
    {
      path: "/home_home",
      component: () => import("@/views/home/home.vue"),
      meta: { title: "工作台" },
    },
  ],
});
